//
//  GiftView.h
//  WECAST
//
//  Created by Content on 17/1/9.
//  Copyright © 2017年 YOD. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GiftModel.h"
typedef void (^ShareBtnClick) (UIButton * button);

@protocol GiftViewDelegate <NSObject>
@optional

-(void)giftSendClickWithInfo:(GiftModel *)model AndNumber:(NSInteger)number;

@end

@interface GiftView : UIView

@property(nonatomic,assign)NSInteger selectedIndex;
@property(nonatomic,strong)UIView *topView;//顶部礼物区
@property(nonatomic,strong)UIView *bottomView;//底部功能区
@property(nonatomic,strong)UILabel *moneyNum;
@property(nonatomic,strong)UIImageView *money_icon;
@property(nonatomic,strong)UILabel *numberTip;
@property(nonatomic,strong)UIView *VLine;//底部竖线
@property(nonatomic,strong)UIButton *sendBtn;//发送
@property(nonatomic,strong) QMUISegmentedControl *giftSelectNumber;
@property(nonatomic, strong) NSArray *giftNumberList;//礼物数量数组
@property(nonatomic, strong) NSArray<GiftModel *> *giftData;//礼物数据

@property(nonatomic,copy)ShareBtnClick click_Share;
@property(nonatomic, strong) id<GiftViewDelegate> delegate;

- (id)initWithShareViewToView:(UIView *)designView AndGift:(NSArray *)giftlist;
- (UIViewController*)viewController;
@end
